From b16662a24cc1deaf50321b8214510841785c50f0 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 17 Oct 2008 17:36:38 +0000 Subject: Add notices on successful add or remove to callerid list. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10653 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_callerid.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index 34e41cb44..0204ee77f 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -239,6 +239,8 @@ public: return false; } + + user->WriteServ("NOTICE %s :%s is now on your accept list", user->nick.c_str(), whotoadd->nick.c_str()); return true; } @@ -260,6 +262,8 @@ public: return false; } + + user->WriteServ("NOTICE %s :%s is no longer on your accept list", user->nick.c_str(), whotoremove->nick.c_str()); dat->accepting.erase(i); return true; } -- cgit v1.2.3