summaryrefslogtreecommitdiff
path: root/src/modules/hs_request.c
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 19:11:32 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 19:11:32 +0000
commitd3f58dcd4f97589ddeddd665eedede29ad6baa28 (patch)
treebb53cade468e006cb5f6dd263d124f6b66b345d4 /src/modules/hs_request.c
parent552c4a47b18a3373b46512a00bfce360f30a5cea (diff)
Replaced notice() with direct call to SendMessage() in IRCDProto class.
Added SendNoticeInternal() function to IRCDProto class, now SendNotice() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1336 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules/hs_request.c')
-rw-r--r--src/modules/hs_request.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c
index 3ee45cebd..eefd816db 100644
--- a/src/modules/hs_request.c
+++ b/src/modules/hs_request.c
@@ -529,7 +529,7 @@ void show_list(User * u)
int hs_help_request(User * u)
{
moduleNoticeLang(s_HostServ, u, LNG_REQUEST_SYNTAX);
- notice(s_HostServ, u->nick, " ");
+ ircdproto->SendMessage(s_HostServ, u->nick, " ");
moduleNoticeLang(s_HostServ, u, LNG_HELP_REQUEST);
return MOD_CONT;
@@ -539,7 +539,7 @@ int hs_help_activate(User * u)
{
if (is_host_setter(u)) {
moduleNoticeLang(s_HostServ, u, LNG_ACTIVATE_SYNTAX);
- notice(s_HostServ, u->nick, " ");
+ ircdproto->SendMessage(s_HostServ, u->nick, " ");
moduleNoticeLang(s_HostServ, u, LNG_HELP_ACTIVATE);
if (HSRequestMemoUser)
moduleNoticeLang(s_HostServ, u, LNG_HELP_ACTIVATE_MEMO);
@@ -554,7 +554,7 @@ int hs_help_reject(User * u)
{
if (is_host_setter(u)) {
moduleNoticeLang(s_HostServ, u, LNG_REJECT_SYNTAX);
- notice(s_HostServ, u->nick, " ");
+ ircdproto->SendMessage(s_HostServ, u->nick, " ");
moduleNoticeLang(s_HostServ, u, LNG_HELP_REJECT);
if (HSRequestMemoUser)
moduleNoticeLang(s_HostServ, u, LNG_HELP_REJECT_MEMO);
@@ -569,7 +569,7 @@ int hs_help_waiting(User * u)
{
if (is_host_setter(u)) {
moduleNoticeLang(s_HostServ, u, LNG_WAITING_SYNTAX);
- notice(s_HostServ, u->nick, " ");
+ ircdproto->SendMessage(s_HostServ, u->nick, " ");
moduleNoticeLang(s_HostServ, u, LNG_HELP_WAITING);
} else {
notice_lang(s_HostServ, u, NO_HELP_AVAILABLE, "WAITING");
@@ -692,7 +692,7 @@ int hsreqevt_db_backup(int argc, char **argv)
else
ModuleDatabaseBackup(HSREQ_DEFAULT_DBNAME);
}
-
+
return MOD_CONT;
}