From 93876363f89ea7a451ba1e18407e08a539854208 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 8 Aug 2006 14:38:24 +0000 Subject: kill_link() and Server::QuitUser() -> userrec::QuitUser() (static member) - this cant be a normal member as it causes the userrec to be deleted, and "delete this" is bad, mmm'k git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4789 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_blockamsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_blockamsg.cpp') diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp index fdbc33839..b46da5527 100644 --- a/src/modules/m_blockamsg.cpp +++ b/src/modules/m_blockamsg.cpp @@ -141,7 +141,7 @@ public: WriteOpers("*** %s had an /amsg or /ame denied", user->nick); if(action == IBLOCK_KILL || action == IBLOCK_KILLOPERS) - Srv->QuitUser(user, "Global message (/amsg or /ame) detected"); + userrec::QuitUser(user, "Global message (/amsg or /ame) detected"); else if(action == IBLOCK_NOTICE || action == IBLOCK_NOTICEOPERS) WriteServ(user->fd, "NOTICE %s :Global message (/amsg or /ame) detected", user->nick); -- cgit v1.2.3