]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/proto.h
make it so that lamers do not affect users above inviteme level in the channel
[irc/evilnet/x3.git] / src / proto.h
index 63f1b1dca5a9053014b7475387bf75633e977ecd..dce531310fc9bd63c42684adcc9477775cab5ddb 100644 (file)
@@ -94,6 +94,9 @@ struct userNode* GetUserN(const char *numeric);
 void init_parse(void);
 int parse_line(char *line, int recursive);
 
+char *client_report_privs(struct userNode *client);
+int check_priv(char *priv);
+
 /* Callback notifications for protocol support. */
 typedef void (*chanmsg_func_t) (struct userNode *user, struct chanNode *chan, char *text, struct userNode *bot);
 void reg_chanmsg_func(unsigned char prefix, struct userNode *service, chanmsg_func_t handler);
@@ -141,6 +144,7 @@ void irc_kick(struct userNode *who, struct userNode *target, struct chanNode *fr
 void irc_part(struct userNode *who, struct chanNode *what, const char *reason);
 void irc_topic(struct userNode *service, struct userNode *who, struct chanNode *what, const char *topic);
 void irc_fetchtopic(struct userNode *from, const char *to);
+void irc_svsjoin(struct userNode *from, struct userNode *who, struct chanNode *to);
 
 /* network maintenance */
 void irc_silence(struct userNode *who, const char *mask, int add);
@@ -155,6 +159,7 @@ void irc_raw(const char *what);
 void irc_stats(struct userNode *from, struct server *target, char type);
 void irc_svsnick(struct userNode *from, struct userNode *target, const char *newnick);
 void irc_swhois(struct userNode *from, struct userNode *target, const char *message);
+void irc_privs(struct userNode *target, char *flag, int add);
 
 /* account maintenance */
 void irc_rename(struct userNode *user, const char *new_handle);