X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/83ff05c356f6497be2475640d1cb2e3eb369831f..5a1daaaba65bb61921c1274fd8672cb91bae4268:/src/proto.h diff --git a/src/proto.h b/src/proto.h index c6ff634..fe70c2a 100644 --- a/src/proto.h +++ b/src/proto.h @@ -23,7 +23,7 @@ /* Warning for those looking at how this code does multi-protocol * support: It's an awful, nasty hack job. It is intended for short - * term use, not long term, since we are already developing srvx2, + * term use, not long term, since we are already developing x3, * which has much nicer interfaces that hide most of the ugly * differences between protocol dialects. */ @@ -134,6 +134,7 @@ void irc_wallchops(struct userNode *from, const char *to, const char *message); void irc_join(struct userNode *who, struct chanNode *what); void irc_invite(struct userNode *from, struct userNode *who, struct chanNode *to); void irc_mode(struct userNode *who, struct chanNode *target, const char *modes); +void irc_umode(struct userNode *target, const char *modes); void irc_kick(struct userNode *who, struct userNode *target, struct chanNode *from, const char *msg); void irc_part(struct userNode *who, struct chanNode *what, const char *reason); void irc_topic(struct userNode *who, struct chanNode *what, const char *topic); @@ -234,7 +235,7 @@ int irc_make_chanmode(struct chanNode *chan, char *out); #define GENMASK_USENICK 2 #define GENMASK_OMITNICK 4 /* Hurray for Kevin! */ #define GENMASK_BYIP 8 -#define GENMASK_SRVXMASK 16 +#define GENMASK_X3MASK 16 #define GENMASK_NO_HIDING 128 char *generate_hostmask(struct userNode *user, int options);