diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
commit | 7a167d97af6ef7e97c05488ae37c8f482173adb9 (patch) | |
tree | 6006339a603bf8d88c33c8c42811a1a63faac2f6 /include | |
parent | 60b293b58edab6e6701f5b4911293a762fbbcf52 (diff) |
Added cmd_guest_nick() function to IRCDProtoClass.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1217 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r-- | include/extern.h | 1 | ||||
-rw-r--r-- | include/services.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/extern.h b/include/extern.h index 7c965b177..8a5c3c948 100644 --- a/include/extern.h +++ b/include/extern.h @@ -613,7 +613,6 @@ E void pmodule_cmd_372(void (*func) (const char *source, const char *msg)); E void pmodule_cmd_372_error(void (*func) (const char *source)); E void pmodule_cmd_375(void (*func) (const char *source)); E void pmodule_cmd_376(void (*func) (const char *source)); -E void pmodule_cmd_guest_nick(void (*func) (const char *nick, const char *user, const char *host, const char *real, const char *modes)); E void pmodule_cmd_mode(void (*func) (const char *source, const char *dest, const char *buf)); E void pmodule_cmd_bot_nick(void (*func) (const char *nick, const char *user, const char *host, const char *real, const char *modes)); E void pmodule_cmd_kick(void (*func) (const char *source, const char *chan, const char *user, const char *buf)); diff --git a/include/services.h b/include/services.h index 71529c402..1faa0e2c6 100644 --- a/include/services.h +++ b/include/services.h @@ -1079,7 +1079,6 @@ typedef struct ircd_proto_ { void (*ircd_cmd_372_error)(const char *source); void (*ircd_cmd_375)(const char *source); void (*ircd_cmd_376)(const char *source); - void (*ircd_cmd_guest_nick)(const char *nick, const char *user, const char *host, const char *real, const char *modes); void (*ircd_cmd_mode)(const char *source, const char *dest, const char *buf); void (*ircd_cmd_bot_nick)(const char *nick, const char *user, const char *host, const char *real, const char *modes); void (*ircd_cmd_kick)(const char *source, const char *chan, const char *user, const char *buf); @@ -1151,6 +1150,7 @@ class IRCDProtoNew { virtual void cmd_svskill(const char *source, const char *user, const char *buf) = 0; virtual void cmd_svsmode(User *u, int ac, const char **av) = 0; virtual void cmd_nick(const char *, const char *, const char *) = 0; + virtual void cmd_guest_nick(const char *, const char *, const char *, const char *, const char *) { } }; typedef struct ircd_modes_ { |