]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/proto-p10.c
Improved and committed the Life4Christ folks aut-oper patch.
[irc/evilnet/x3.git] / src / proto-p10.c
index fbfc539055a9b2fce07e4feaa6d4bc42b6be6b36..baba4991a4f3b218855646ca7fd9f3762a2eb9b1 100644 (file)
@@ -714,6 +714,16 @@ irc_mode(struct userNode *from, struct chanNode *target, const char *modes)
             target->name, modes, target->timestamp);
 }
 
+/* Added to allow services to mode users
+   2005 - 8 - 10 by Life4Christ
+*/
+void
+irc_umode(struct userNode *target, const char *modes)
+{
+    putsock("%s " P10_MODE " %s %s ",self->numeric,target->nick, modes);
+}
+
+
 void
 irc_invite(struct userNode *from, struct userNode *who, struct chanNode *to)
 {