summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/core/m_nick.c8
-rw-r--r--modules/m_info.c2
-rw-r--r--modules/m_kline.c2
-rw-r--r--modules/m_stats.c8
-rw-r--r--src/mempool.c2
-rw-r--r--src/s_user.c2
6 files changed, 11 insertions, 13 deletions
diff --git a/modules/core/m_nick.c b/modules/core/m_nick.c
index 8e81721..6635f15 100644
--- a/modules/core/m_nick.c
+++ b/modules/core/m_nick.c
@@ -326,15 +326,13 @@ nick_from_server(struct Client *client_p, struct Client *source_p, int parc,
}
sendto_common_channels_local(source_p, 1, 0, ":%s!%s@%s NICK :%s",
- source_p->name,source_p->username,
+ source_p->name, source_p->username,
source_p->host, nick);
whowas_add_history(source_p, 1);
- sendto_server(client_p, CAP_TS6, NOCAPS,
- ":%s NICK %s :%lu",
+ sendto_server(client_p, CAP_TS6, NOCAPS, ":%s NICK %s :%lu",
ID(source_p), nick, (unsigned long)source_p->tsinfo);
- sendto_server(client_p, NOCAPS, CAP_TS6,
- ":%s NICK %s :%lu",
+ sendto_server(client_p, NOCAPS, CAP_TS6, ":%s NICK %s :%lu",
source_p->name, nick, (unsigned long)source_p->tsinfo);
}
diff --git a/modules/m_info.c b/modules/m_info.c
index dc97312..def6703 100644
--- a/modules/m_info.c
+++ b/modules/m_info.c
@@ -712,7 +712,7 @@ m_info(struct Client *client_p, struct Client *source_p,
last_used = CurrentTime;
if (!ConfigServerHide.disable_remote_commands)
- if (hunt_server(client_p,source_p, ":%s INFO :%s", 1,
+ if (hunt_server(client_p, source_p, ":%s INFO :%s", 1,
parc, parv) != HUNTED_ISME)
return 0;
diff --git a/modules/m_kline.c b/modules/m_kline.c
index 1810aed..9b4392f 100644
--- a/modules/m_kline.c
+++ b/modules/m_kline.c
@@ -360,7 +360,7 @@ ms_kline(struct Client *client_p, struct Client *source_p,
*
*/
static int
-mo_unkline(struct Client *client_p,struct Client *source_p,
+mo_unkline(struct Client *client_p, struct Client *source_p,
int parc, char *parv[])
{
char *target_server = NULL;
diff --git a/modules/m_stats.c b/modules/m_stats.c
index fd453fc..27fc660 100644
--- a/modules/m_stats.c
+++ b/modules/m_stats.c
@@ -1410,8 +1410,8 @@ parse_stats_args(int parc, char *parv[], int *doall, int *wilds)
}
static void
-stats_L_list(struct Client *source_p,char *name, int doall, int wilds,
- dlink_list *list,char statchar)
+stats_L_list(struct Client *source_p, char *name, int doall, int wilds,
+ dlink_list *list, char statchar)
{
dlink_node *ptr;
struct Client *target_p;
@@ -1500,8 +1500,8 @@ stats_L_list(struct Client *source_p,char *name, int doall, int wilds,
* side effects -
*/
static void
-stats_L(struct Client *source_p,char *name,int doall,
- int wilds,char statchar)
+stats_L(struct Client *source_p, char *name,int doall,
+ int wilds, char statchar)
{
stats_L_list(source_p, name, doall, wilds, &unknown_list, statchar);
stats_L_list(source_p, name, doall, wilds, &local_client_list, statchar);
diff --git a/src/mempool.c b/src/mempool.c
index c88e7ba..5b340f9 100644
--- a/src/mempool.c
+++ b/src/mempool.c
@@ -510,7 +510,7 @@ mp_pool_sort_used_chunks(mp_pool_t *pool)
chunks = MyMalloc(sizeof(mp_chunk_t *) * n);
- for (i=0,chunk = pool->used_chunks; chunk; chunk = chunk->next)
+ for (i = 0, chunk = pool->used_chunks; chunk; chunk = chunk->next)
chunks[i++] = chunk;
qsort(chunks, n, sizeof(mp_chunk_t *), mp_pool_sort_used_chunks_helper);
diff --git a/src/s_user.c b/src/s_user.c
index 2d068e9..1403ca9 100644
--- a/src/s_user.c
+++ b/src/s_user.c
@@ -785,7 +785,7 @@ report_and_set_user_flags(struct Client *source_p, const struct MaskItem *conf)
SetExemptLimits(source_p);
sendto_one(source_p,
":%s NOTICE %s :*** You are exempt from user limits. Congrats.",
- me.name,source_p->name);
+ me.name, source_p->name);
}
if (IsConfCanFlood(conf))