diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-03-01 17:22:54 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-03-01 17:22:54 +0000 |
commit | 62d98b1aa43bd45ee3fcbc3475025fcc717e193e (patch) | |
tree | d86139f69e86424108b67fd4fd925ecec7d45df0 /modules | |
parent | 8d15178d62ea6028c51ee39f0e810865423cd73c (diff) |
- white-space changes / style cleanups
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3080 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r-- | modules/core/m_nick.c | 8 | ||||
-rw-r--r-- | modules/m_info.c | 2 | ||||
-rw-r--r-- | modules/m_kline.c | 2 | ||||
-rw-r--r-- | modules/m_stats.c | 8 |
4 files changed, 9 insertions, 11 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); |