From f09953561bebb310cfe6a534c1262d77433a4e42 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Fri, 3 Oct 2008 17:37:45 +0000 Subject: Merge commit 'cbx/anopeng-charfix' into anopeng git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1408 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/bs_fantasy_kickban.c | 4 ++-- src/core/cs_xop.c | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/core') 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]); -- cgit