diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:13 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:13 +0000 |
| commit | 06e29194671ebd2b52996e3be3aba34998f205c1 (patch) | |
| tree | ee119572f08d232c172a3c0732818f81a6f8b3ac /src/protocol/inspircd11.c | |
| parent | e03c14cf1da821f98ec607732117636deedee780 (diff) | |
Remove cmd_nick in favour of cmd_bot_nick.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1275 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/inspircd11.c')
| -rw-r--r-- | src/protocol/inspircd11.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c index 9bbe41d6d..a0bbcb12c 100644 --- a/src/protocol/inspircd11.c +++ b/src/protocol/inspircd11.c @@ -603,14 +603,6 @@ void inspircd_cmd_376(const char *source) send_cmd(ServerName, "376 %s :End of /MOTD command.", source); } -void InspIRCdProto::cmd_nick(const char *nick, const char *name, const char *modes) -{ - /* :test.chatspike.net NICK 1133519355 Brain synapse.brainbox.winbot.co.uk netadmin.chatspike.net ~brain +xwsioS 10.0.0.2 :Craig Edwards */ - send_cmd(ServerName, "NICK %ld %s %s %s %s +%s 0.0.0.0 :%s", static_cast<long>(time(NULL)), nick, ServiceHost, ServiceHost, ServiceUser, modes, name); - /* Don't send ServerName as the source here... -GD */ - send_cmd(nick, "OPERTYPE Service"); -} - void InspIRCdProto::cmd_guest_nick(const char *nick, const char *user, const char *host, const char *real, const char *modes) { send_cmd(ServerName, "NICK %ld %s %s %s %s +%s 0.0.0.0 :%s", static_cast<long>(time(NULL)), nick, host, host, user, modes, real); @@ -765,7 +757,7 @@ int anope_event_fjoin(const char *source, int ac, const char **av) void InspIRCdProto::cmd_bot_nick(const char *nick, const char *user, const char *host, const char *real, const char *modes) { send_cmd(ServerName, "NICK %ld %s %s %s %s +%s 0.0.0.0 :%s", static_cast<long>(time(NULL)), nick, host, host, user, modes, real); - send_cmd(nick, "OPERTYPE Bot"); + send_cmd(nick, "OPERTYPE Service"); } void InspIRCdProto::cmd_kick(const char *source, const char *chan, const char *user, const char *buf) |
