diff options
| author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 19:11:32 +0000 |
|---|---|---|
| committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 19:11:32 +0000 |
| commit | d3f58dcd4f97589ddeddd665eedede29ad6baa28 (patch) | |
| tree | bb53cade468e006cb5f6dd263d124f6b66b345d4 /src/sessions.c | |
| parent | 552c4a47b18a3373b46512a00bfce360f30a5cea (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/sessions.c')
| -rw-r--r-- | src/sessions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sessions.c b/src/sessions.c index e7621cc75..5b1eb2cb1 100644 --- a/src/sessions.c +++ b/src/sessions.c @@ -223,9 +223,9 @@ int add_session(const char *nick, const char *host, char *hostip) if (sessionlimit != 0 && session->count >= sessionlimit) { if (SessionLimitExceeded) - notice(s_OperServ, nick, SessionLimitExceeded, host); + ircdproto->SendMessage(s_OperServ, nick, SessionLimitExceeded, host); if (SessionLimitDetailsLoc) - notice(s_OperServ, nick, "%s", SessionLimitDetailsLoc); + ircdproto->SendMessage(s_OperServ, nick, "%s", SessionLimitDetailsLoc); /* We don't use kill_user() because a user stucture has not yet * been created. Simply kill the user. -TheShadow |
