summaryrefslogtreecommitdiff
path: root/src/core/cs_getkey.c
diff options
context:
space:
mode:
authorphil-lavin <phil-lavin@5417fbe8-f217-4b02-8779-1006273d7864>2010-05-12 18:13:34 +0000
committerphil-lavin <phil-lavin@5417fbe8-f217-4b02-8779-1006273d7864>2010-05-12 18:13:34 +0000
commitd049bf0d8f0f0e219a22e3dd1d2ad72fd85f1a08 (patch)
tree77bff603160d74237fb662c7e2023993cd887e0e /src/core/cs_getkey.c
parenta53cbd82cc2499c4d0f7e84ec50e6b07a7cca2c7 (diff)
Added a tonne of alog()s to log all stateful commands
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2952 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_getkey.c')
-rw-r--r--src/core/cs_getkey.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/cs_getkey.c b/src/core/cs_getkey.c
index 8caf09ba3..a86c0a445 100644
--- a/src/core/cs_getkey.c
+++ b/src/core/cs_getkey.c
@@ -81,6 +81,8 @@ int do_getkey(User * u)
} else if (!ci->c || !ci->c->key) {
notice_lang(s_ChanServ, u, CHAN_GETKEY_NOKEY, chan);
} else {
+ alog("%s: %s!%s@%s used GETKEY on %s",
+ s_ChanServ, u->nick, u->username, u->host, ci->name);
notice_lang(s_ChanServ, u, CHAN_GETKEY_KEY, chan, ci->c->key);
}