summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 19:33:51 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 19:33:51 +0000
commit036c287376995bcf4e35f89fdf0e2036ba99b6dd (patch)
treed26624c367d9cb0cad42bd18d250ef30e491ee2b /src
parent50db0bb6807382c78f67a77670ecccf8038207a6 (diff)
Replaced anope_SendPong() with direct call to SendPong() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1342 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/ircd.c5
-rw-r--r--src/main.c20
2 files changed, 10 insertions, 15 deletions
diff --git a/src/ircd.c b/src/ircd.c
index 818becd50..0c03c22ac 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -43,11 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av)
ircdproto->ProcessUsermodes(user, ac, av);
}
-void anope_SendPong(const char *servname, const char *who)
-{
- ircdproto->SendPong(servname, who);
-}
-
void anope_SendJoin(const char *user, const char *channel, time_t chantime)
{
ircdproto->SendJoin(user, channel, chantime);
diff --git a/src/main.c b/src/main.c
index 30ab9c88c..45b5be1d9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -6,8 +6,8 @@
* Please read COPYING and README for further details.
*
* Based on the original code of Epona by Lara.
- * Based on the original code of Services by Andy Church.
- *
+ * Based on the original code of Services by Andy Church.
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -183,41 +183,41 @@ void save_databases(void)
* exists we're safe. -GD
*/
if (serv_uplink)
- anope_SendPong(ServerName, ServerName);
+ ircdproto->SendPong(ServerName, ServerName);
waiting = -12;
save_cs_rdb_dbase();
if (serv_uplink)
- anope_SendPong(ServerName, ServerName);
+ ircdproto->SendPong(ServerName, ServerName);
if (PreNickDBName) {
save_ns_req_rdb_dbase();
if (serv_uplink)
- anope_SendPong(ServerName, ServerName);
+ ircdproto->SendPong(ServerName, ServerName);
waiting = -13;
}
if (s_BotServ) {
waiting = -14;
save_bs_rdb_dbase();
if (serv_uplink)
- anope_SendPong(ServerName, ServerName);
+ ircdproto->SendPong(ServerName, ServerName);
}
if (s_HostServ) {
waiting = -15;
save_hs_rdb_dbase();
if (serv_uplink)
- anope_SendPong(ServerName, ServerName);
+ ircdproto->SendPong(ServerName, ServerName);
}
waiting = -16;
save_os_rdb_dbase();
if (serv_uplink)
- anope_SendPong(ServerName, ServerName);
+ ircdproto->SendPong(ServerName, ServerName);
waiting = -17;
save_rdb_news();
if (serv_uplink)
- anope_SendPong(ServerName, ServerName);
+ ircdproto->SendPong(ServerName, ServerName);
waiting = -18;
save_rdb_exceptions();
if (serv_uplink)
- anope_SendPong(ServerName, ServerName);
+ ircdproto->SendPong(ServerName, ServerName);
}
#endif
waiting = -20;