diff options
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/src/ircd.c b/src/ircd.c index d7de214b1..d9b729ef0 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -38,80 +38,6 @@ void pmodule_ircd_proto(IRCDProto *proto) ircdproto = proto; } -void anope_ProcessUsermodes(User *user, int ac, const char **av) -{ - ircdproto->ProcessUsermodes(user, ac, av); -} - -void anope_SendUnregisteredNick(User *u) -{ - ircdproto->SendUnregisteredNick(u); -} - -void anope_SendSVID2(User *u, const char *ts) -{ - ircdproto->SendSVID2(u, ts); -} - -void anope_SendSVID3(User *u, const char *ts) -{ - ircdproto->SendSVID3(u, ts); -} - -void anope_SendSVSJoin(const char *source, const char *nick, const char *chan, const char *param) -{ - ircdproto->SendSVSJoin(source, nick, chan, param); -} - -void anope_SendSVSPart(const char *source, const char *nick, const char *chan) -{ - ircdproto->SendSVSPart(source, nick, chan); -} - -void anope_SendSWhois(const char *source, const char *who, const char *mask) -{ - ircdproto->SendSWhois(source, who, mask); -} - -void anope_SendEOB() -{ - ircdproto->SendEOB(); -} - -int anope_IsFloodModeParamValid(const char *value) -{ - return ircdproto->IsFloodModeParamValid(value); -} - -void anope_SendJupe(const char *jserver, const char *who, const char *reason) -{ - ircdproto->SendJupe(jserver, who, reason); -} - -int anope_IsNickValid(const char *nick) -{ - return ircdproto->IsNickValid(nick); -} - -int anope_IsChannelValid(const char *chan) -{ - return ircdproto->IsChannelValid(chan); -} - - -void anope_SendCTCP(const char *source, const char *dest, const char *fmt, ...) -{ - va_list args; - char buf[BUFSIZE] = ""; - if (fmt) { - va_start(args, fmt); - vsnprintf(buf, BUFSIZE - 1, fmt, args); - va_end(args); - } - // XXX: CBX, when you move this to ircdproto, please make it take BotInfo * directly, thx :) - ircdproto->SendCTCP(findbot(source), dest, buf); -} - void anope_SendNumeric(const char *source, int numeric, const char *dest, const char *fmt, ...) { va_list args; |