summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-17 17:36:38 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-17 17:36:38 +0000
commitb16662a24cc1deaf50321b8214510841785c50f0 (patch)
treecff8f899241561e93022503889e24ff6e389ba86 /src
parent66ad87a0ec71370c15b065728b398f1aef8a11d8 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_callerid.cpp4
1 files changed, 4 insertions, 0 deletions
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;
}