summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/bs_badwords.c6
-rw-r--r--src/core/cs_access.c8
-rw-r--r--src/core/cs_list.c10
-rw-r--r--src/core/cs_xop.c2
-rw-r--r--src/core/hs_list.c6
-rw-r--r--src/core/ns_list.c6
6 files changed, 19 insertions, 19 deletions
diff --git a/src/core/bs_badwords.c b/src/core/bs_badwords.c
index e1518c51c..92561c26b 100644
--- a/src/core/bs_badwords.c
+++ b/src/core/bs_badwords.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$
*
*/
@@ -62,7 +62,7 @@ int do_badwords(User * u)
ChannelInfo *ci;
BadWord *bw;
- int i;
+ unsigned i;
int need_args = (cmd
&& (!stricmp(cmd, "LIST") || !stricmp(cmd, "CLEAR")));
diff --git a/src/core/cs_access.c b/src/core/cs_access.c
index b70192c02..486c482e4 100644
--- a/src/core/cs_access.c
+++ b/src/core/cs_access.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$
*
*/
@@ -138,7 +138,7 @@ int do_access(User * u)
NickCore *nc;
ChanAccess *access;
- int i;
+ unsigned i;
int level = 0, ulev;
int is_list = (cmd && stricmp(cmd, "LIST") == 0);
int is_servadmin = is_services_admin(u);
@@ -393,7 +393,7 @@ int do_access(User * u)
free(ci->access);
ci->access = NULL;
ci->accesscount = 0;
-
+
send_event(EVENT_ACCESS_CLEAR, 2, ci->name, u->nick);
notice_lang(s_ChanServ, u, CHAN_ACCESS_CLEAR, ci->name);
diff --git a/src/core/cs_list.c b/src/core/cs_list.c
index a6e81d33c..7c2d3fba2 100644
--- a/src/core/cs_list.c
+++ b/src/core/cs_list.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$
*
*/
@@ -61,7 +61,7 @@ int do_list(User * u)
int spattern_size;
char *spattern;
ChannelInfo *ci;
- int nchans, i;
+ unsigned nchans, i;
char buf[BUFSIZE];
int is_servadmin = is_services_admin(u);
int count = 0, from = 0, to = 0, tofree = 0;
@@ -130,11 +130,11 @@ int do_list(User * u)
if (stricmp(keyword, "NOEXPIRE") == 0)
matchflags |= CI_NO_EXPIRE;
}
-
+
spattern_size = (strlen(pattern) + 2) * sizeof(char);
spattern = (char *)smalloc(spattern_size);
snprintf(spattern, spattern_size, "#%s", pattern);
-
+
notice_lang(s_ChanServ, u, CHAN_LIST_HEADER, pattern);
for (i = 0; i < 256; i++) {
diff --git a/src/core/cs_xop.c b/src/core/cs_xop.c
index bc724913f..a757f7968 100644
--- a/src/core/cs_xop.c
+++ b/src/core/cs_xop.c
@@ -234,7 +234,7 @@ int do_xop(User * u, const char *xname, int xlev, int *xmsgs)
NickAlias *na;
NickCore *nc;
- int i;
+ unsigned i;
int change = 0;
short ulev;
int is_list = (cmd && stricmp(cmd, "LIST") == 0);
diff --git a/src/core/hs_list.c b/src/core/hs_list.c
index 1fc8d226e..46db3ab40 100644
--- a/src/core/hs_list.c
+++ b/src/core/hs_list.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$
*
*/
@@ -62,7 +62,7 @@ int listOut(User * u)
int from = 0, to = 0;
char *tmp = NULL;
char *s = NULL;
- int display_counter = 0;
+ unsigned display_counter = 0;
HostCore *head = NULL;
HostCore *current;
diff --git a/src/core/ns_list.c b/src/core/ns_list.c
index 795eba051..f00160226 100644
--- a/src/core/ns_list.c
+++ b/src/core/ns_list.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$
*
*/
@@ -77,7 +77,7 @@ int do_list(User * u)
char *keyword;
NickAlias *na;
NickCore *mync;
- int nnicks, i;
+ unsigned nnicks, i;
char buf[BUFSIZE];
int is_servadmin = is_services_admin(u);
int16 matchflags = 0;