diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-03 17:37:45 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-03 17:37:45 +0000 |
| commit | f09953561bebb310cfe6a534c1262d77433a4e42 (patch) | |
| tree | f1c3f89d74931b5f191212a73c1513d19803ee0d /src/core | |
| parent | 69ed36bbf5a6aebc34a5a86946398083a45ab981 (diff) | |
Merge commit 'cbx/anopeng-charfix' into anopeng
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1408 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/bs_fantasy_kickban.c | 4 | ||||
| -rw-r--r-- | src/core/cs_xop.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/core/bs_fantasy_kickban.c b/src/core/bs_fantasy_kickban.c index 526dfb9a1..f8bdc957c 100644 --- a/src/core/bs_fantasy_kickban.c +++ b/src/core/bs_fantasy_kickban.c @@ -6,8 +6,8 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * + * Based on the original code of Services by Andy Church. + * * $Id$ * */ diff --git a/src/core/cs_xop.c b/src/core/cs_xop.c index 4d8031106..e4589d24e 100644 --- a/src/core/cs_xop.c +++ b/src/core/cs_xop.c @@ -6,8 +6,8 @@ * Please read COPYING and README for further details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * + * Based on the original code of Services by Andy Church. + * * $Id$ * */ @@ -15,7 +15,7 @@ #include "module.h" -int do_xop(User * u, char *xname, int xlev, int *xmsgs); +int do_xop(User * u, const char *xname, int xlev, int *xmsgs); int do_aop(User * u); int do_hop(User * u); int do_sop(User * u); @@ -235,7 +235,7 @@ int xop_list_callback(User * u, int num, va_list args) } -int do_xop(User * u, char *xname, int xlev, int *xmsgs) +int do_xop(User * u, const char *xname, int xlev, int *xmsgs) { char *chan = strtok(NULL, " "); char *cmd = strtok(NULL, " "); @@ -500,7 +500,7 @@ int do_xop(User * u, char *xname, int xlev, int *xmsgs) } send_event(EVENT_ACCESS_CLEAR, 2, ci->name, u->nick); - + notice_lang(s_ChanServ, u, xmsgs[13], ci->name); } else { syntax_error(s_ChanServ, u, xname, xmsgs[0]); |
