summaryrefslogtreecommitdiff
path: root/src/protocol/charybdis.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:13 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:13 +0000
commit06e29194671ebd2b52996e3be3aba34998f205c1 (patch)
treeee119572f08d232c172a3c0732818f81a6f8b3ac /src/protocol/charybdis.c
parente03c14cf1da821f98ec607732117636deedee780 (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/charybdis.c')
-rw-r--r--src/protocol/charybdis.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/protocol/charybdis.c b/src/protocol/charybdis.c
index 63fe12577..6ee8b8793 100644
--- a/src/protocol/charybdis.c
+++ b/src/protocol/charybdis.c
@@ -1256,18 +1256,6 @@ void charybdis_cmd_tmode(const char *source, const char *dest, const char *fmt,
send_cmd(NULL, "MODE %s %s", dest, buf);
}
-void CharybdisProto::cmd_nick(const char *nick, const char *name, const char *mode)
-{
- EnforceQlinedNick(nick, NULL);
- if (UseTS6) {
- char *uidbuf = ts6_uid_retrieve();
- send_cmd(TS6SID, "UID %s 1 %ld %s %s %s 0 %s :%s", nick, static_cast<long>(time(NULL)), mode, ServiceUser, ServiceHost, uidbuf, name);
- new_uid(nick, uidbuf);
- }
- else send_cmd(NULL, "NICK %s 1 %ld %s %s %s %s :%s", nick, static_cast<long>(time(NULL)), mode, ServiceUser, ServiceHost, ServerName, name);
- cmd_sqline(nick, "Reserved for services");
-}
-
void CharybdisProto::cmd_kick(const char *source, const char *chan, const char *user, const char *buf)
{
Uid *ud = find_uid(source);