diff options
author | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-17 17:17:45 +0000 |
---|---|---|
committer | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-17 17:17:45 +0000 |
commit | 66ad87a0ec71370c15b065728b398f1aef8a11d8 (patch) | |
tree | e2f9b82eb7b29d78f41928d4d409b3dbe7a42adf /src | |
parent | d164d06d1aaa7fb92ccbbe957dd66082c28b5838 (diff) |
Patch from dz for bug #620, thanks.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10652 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_callerid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_callerid.cpp b/src/modules/m_callerid.cpp index 623f838e3..34e41cb44 100644 --- a/src/modules/m_callerid.cpp +++ b/src/modules/m_callerid.cpp @@ -330,7 +330,7 @@ public: return 0; callerid_data* dat = GetData(dest, true); - std::set<User*>::iterator i = dat->accepting.find(dest); + std::set<User*>::iterator i = dat->accepting.find(user); if (i == dat->accepting.end()) { @@ -340,7 +340,7 @@ public: if (now > (dat->lastnotify + (time_t)notify_cooldown)) { user->WriteNumeric(717, "%s %s :has been informed that you messaged them.", user->nick.c_str(), dest->nick.c_str()); - dest->WriteNumeric(718, "%s %s %s@%s :is messaging you, and you have umode +g", dest->nick.c_str(), user->nick.c_str(), user->ident.c_str(), user->dhost.c_str()); + dest->WriteNumeric(718, "%s %s %s@%s :is messaging you, and you have umode +g. Use /ACCEPT +%s to allow.", dest->nick.c_str(), user->nick.c_str(), user->ident.c_str(), user->dhost.c_str(), user->nick.c_str()); dat->lastnotify = now; } return 1; |