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
commit7eb190b1bd8cd9b3c89ec68aa0251fd5cd8e5add (patch)
tree61d187efbabc481816cf2b3f3dad26593e2036d8 /src/protocol/charybdis.c
parentae4f3a615fb38bcec088f0ac41d8d4a78181d90e (diff)
Added cmd_server() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1268 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/charybdis.c')
-rw-r--r--src/protocol/charybdis.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/protocol/charybdis.c b/src/protocol/charybdis.c
index 92c865f5e..2d1f80d99 100644
--- a/src/protocol/charybdis.c
+++ b/src/protocol/charybdis.c
@@ -885,9 +885,9 @@ void charybdis_cmd_pass(const char *pass)
}
/* SERVER name hop descript */
-void charybdis_cmd_server(const char *servname, int hop, const char *descript)
+void CharybdisProto::cmd_server(const char *servname, int hop, const char *descript)
{
- send_cmd(NULL, "SERVER %s %d :%s", servname, hop, descript);
+ send_cmd(NULL, "SERVER %s %d :%s", servname, hop, descript);
}
void CharybdisProto::cmd_connect()
@@ -899,7 +899,7 @@ void CharybdisProto::cmd_connect()
else if (servernum == 2) charybdis_cmd_pass(RemotePassword2);
else if (servernum == 3) charybdis_cmd_pass(RemotePassword3);
charybdis_cmd_capab();
- charybdis_cmd_server(ServerName, 1, ServerDesc);
+ cmd_server(ServerName, 1, ServerDesc);
charybdis_cmd_svinfo();
}
@@ -1515,7 +1515,7 @@ void charybdis_cmd_jupe(const char *jserver, const char *who, const char *reason
if (findserver(servlist, jserver))
ircd_proto.cmd_squit(jserver, rbuf);
- charybdis_cmd_server(jserver, 2, rbuf);
+ ircd_proto.cmd_server(jserver, 2, rbuf);
new_server(me_server, jserver, rbuf, SERVER_JUPED, NULL);
}