summaryrefslogtreecommitdiff
path: root/src/protocol/ratbox.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/ratbox.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/ratbox.c')
-rw-r--r--src/protocol/ratbox.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c
index 6c20237bc..aab1d63a8 100644
--- a/src/protocol/ratbox.c
+++ b/src/protocol/ratbox.c
@@ -820,9 +820,9 @@ void ratbox_cmd_pass(const char *pass)
}
/* SERVER name hop descript */
-void ratbox_cmd_server(const char *servname, int hop, const char *descript)
+void RatboxProto::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 RatboxProto::cmd_connect()
@@ -834,7 +834,7 @@ void RatboxProto::cmd_connect()
else if (servernum == 2) ratbox_cmd_pass(RemotePassword2);
else if (servernum == 3) ratbox_cmd_pass(RemotePassword3);
ratbox_cmd_capab();
- ratbox_cmd_server(ServerName, 1, ServerDesc);
+ cmd_server(ServerName, 1, ServerDesc);
ratbox_cmd_svinfo();
}
@@ -1410,7 +1410,7 @@ void ratbox_cmd_jupe(const char *jserver, const char *who, const char *reason)
if (findserver(servlist, jserver))
ircd_proto.cmd_squit(jserver, rbuf);
- ratbox_cmd_server(jserver, 2, rbuf);
+ ircd_proto.cmd_server(jserver, 2, rbuf);
new_server(me_server, jserver, rbuf, SERVER_JUPED, NULL);
}