summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/botserv.c2
-rw-r--r--src/modules.c4
-rw-r--r--src/nickserv.c2
-rw-r--r--src/operserv.c2
-rw-r--r--src/proxy.c2
-rw-r--r--src/users.c2
6 files changed, 8 insertions, 6 deletions
diff --git a/src/botserv.c b/src/botserv.c
index 4b5ce1561..6f1ff2289 100644
--- a/src/botserv.c
+++ b/src/botserv.c
@@ -191,7 +191,7 @@ void botchanmsgs(User * u, ChannelInfo * ci, char *buff)
int16 cstatus = 0;
char *cmd, *buf;
UserData *ud;
-
+
buf = sstrdup(buff);
if (!u) {
diff --git a/src/modules.c b/src/modules.c
index 1ba223634..2a78a7af7 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -1839,7 +1839,9 @@ char *moduleGetData(ModuleData * md[], char *key)
ModuleData *lastHash = NULL;
ModuleDataItem *itemCurrent = NULL;
index = CMD_HASH(mod_name);
- if(!md) { return NULL; }
+ if (!md) {
+ return NULL;
+ }
for (current = md[index]; current; current = current->next) {
if (stricmp(current->moduleName, mod_name) == 0)
lastHash = current;
diff --git a/src/nickserv.c b/src/nickserv.c
index 465f14fa5..ec10e4fe0 100644
--- a/src/nickserv.c
+++ b/src/nickserv.c
@@ -1518,7 +1518,7 @@ static int delcore(NickCore * nc)
free(nc->greet);
if (nc->url)
free(nc->url);
-
+
if (nc->access) {
for (i = 0; i < nc->accesscount; i++) {
if (nc->access[i])
diff --git a/src/operserv.c b/src/operserv.c
index d42ab7de1..6aeed2f65 100644
--- a/src/operserv.c
+++ b/src/operserv.c
@@ -4416,7 +4416,7 @@ static int do_noop(User * u)
for (u2 = firstuser(); u2; u2 = u3) {
u3 = nextuser();
if ((u2) && is_oper(u2) && (u2->server->name)
- && match_wild(server,u2->server->name)) {
+ && match_wild(server, u2->server->name)) {
kill_user(s_OperServ, u2->nick, reason);
}
}
diff --git a/src/proxy.c b/src/proxy.c
index 3c548e631..4938c128c 100644
--- a/src/proxy.c
+++ b/src/proxy.c
@@ -18,7 +18,7 @@
#ifndef INADDR_NONE
#define INADDR_NONE 0xFFFFFFFF
-#endif
+#endif
/* Hashed list of HostCache; threads must not use it! */
HostCache *hcache[1024];
diff --git a/src/users.c b/src/users.c
index 6c6d59c02..bd86d8e93 100644
--- a/src/users.c
+++ b/src/users.c
@@ -98,7 +98,7 @@ static User *new_user(const char *nick)
alog("user: New maximum user count: %d", maxusercnt);
}
user->isSuperAdmin = 0; /* always set SuperAdmin to 0 for new users */
- user->nickTrack = NULL; /* ensure no default tracking nick */
+ user->nickTrack = NULL; /* ensure no default tracking nick */
return user;
}