diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2010-08-01 18:39:06 +0200 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2010-08-01 18:39:06 +0200 |
commit | cb3a18e524a07a28ef608cf35c843d402c3159bb (patch) | |
tree | 361ea480e30d225ec7776d6f363248a8a0fc9485 /modules | |
parent | 5b6878213357a0b2bcb8da06ef66b47a4ec52e8c (diff) | |
parent | 084766069cdf24b69e1f146db4d44a24b617e7de (diff) |
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
Diffstat (limited to 'modules')
-rw-r--r-- | modules/core/ms_cancel.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/core/ms_cancel.cpp b/modules/core/ms_cancel.cpp index 3a170d812..f246c02f5 100644 --- a/modules/core/ms_cancel.cpp +++ b/modules/core/ms_cancel.cpp @@ -24,14 +24,13 @@ class CommandMSCancel : public Command CommandReturn Execute(User *u, const std::vector<Anope::string> ¶ms) { - int ischan; - int isforbid; + bool ischan, isforbid; Anope::string name = params[0]; MemoInfo *mi; if (!u->IsRecognized()) notice_lang(Config.s_MemoServ, u, NICK_IDENTIFY_REQUIRED, Config.s_NickServ.c_str()); - else if (!(mi = getmemoinfo(name, &ischan, &isforbid))) + else if (!(mi = getmemoinfo(name, ischan, isforbid))) { if (isforbid) notice_lang(Config.s_MemoServ, u, ischan ? CHAN_X_FORBIDDEN : NICK_X_FORBIDDEN, name.c_str()); |