X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/1136f709ef8add5fa9ba8663db910003362e1bd2..92fb809beb2963a5b331a59e589430c989c9cbde:/src/proto.h diff --git a/src/proto.h b/src/proto.h index 36bbb10..ef6bb96 100644 --- a/src/proto.h +++ b/src/proto.h @@ -126,6 +126,7 @@ void irc_connect(struct userNode *user, char *server, unsigned int port, struct /* messages */ void irc_privmsg(struct userNode *from, const char *to, const char *message); +void irc_privmsg_user(struct userNode *from, struct userNode *to, const char *message); void irc_notice(struct userNode *from, const char *to, const char *message); void irc_notice_user(struct userNode *from, struct userNode *to, const char *message); void irc_version_user(struct userNode *from, struct userNode *to); @@ -197,6 +198,8 @@ void DelUser(struct userNode* user, struct userNode *killer, int announce, const /* User modes */ void mod_usermode(struct userNode *user, const char *modes); +extern const char irc_user_mode_chars[]; +unsigned int irc_user_modes(const struct userNode *user, char modes[], size_t length); /* Channel mode manipulation */ #define KEYLEN 23