diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-07-03 18:13:17 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-07-03 18:13:17 +0000 |
commit | a1ce9ba4b3c64a9f7daf82d88b40381afebd5222 (patch) | |
tree | 58255747116bfee3624fb75cf8350fc912e5e078 /modules/m_connect.c | |
parent | 36ad1362178afa777fb41884ba0e2a3c93df24cb (diff) |
- White-space commit / style corrections
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2343 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_connect.c')
-rw-r--r-- | modules/m_connect.c | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/modules/m_connect.c b/modules/m_connect.c index 775fb50..4f38fa7 100644 --- a/modules/m_connect.c +++ b/modules/m_connect.c @@ -88,7 +88,7 @@ mo_connect(struct Client *client_p, struct Client *source_p, if ((target_p = hash_find_server(parv[1]))) { sendto_one(source_p, - ":%s NOTICE %s :Connect: Server %s already exists from %s.", + ":%s NOTICE %s :Connect: Server %s already exists from %s.", me.name, source_p->name, parv[1], target_p->from->name); return; } @@ -107,7 +107,8 @@ mo_connect(struct Client *client_p, struct Client *source_p, } } - /* Get port number from user, if given. If not specified, + /* + * Get port number from user, if given. If not specified, * use the default form configuration structure. If missing * from there, then use the precompiled default. */ @@ -144,7 +145,8 @@ mo_connect(struct Client *client_p, struct Client *source_p, conf->port = port; - /* at this point we should be calling connect_server with a valid + /* + * at this point we should be calling connect_server with a valid * C:line and a valid port in the C:line */ if (serv_connect(conf, source_p)) @@ -163,7 +165,8 @@ mo_connect(struct Client *client_p, struct Client *source_p, me.name, source_p->name, conf->name, conf->port); } - /* client is either connecting with all the data it needs or has been + /* + * Client is either connecting with all the data it needs or has been * destroyed */ conf->port = tmpport; @@ -189,8 +192,8 @@ ms_connect(struct Client *client_p, struct Client *source_p, struct MaskItem *conf = NULL; const struct Client *target_p = NULL; - if (hunt_server(client_p, source_p, - ":%s CONNECT %s %s :%s", 3, parc, parv) != HUNTED_ISME) + if (hunt_server(client_p, source_p, ":%s CONNECT %s %s :%s", + 3, parc, parv) != HUNTED_ISME) return; if (EmptyString(parv[1])) @@ -203,7 +206,7 @@ ms_connect(struct Client *client_p, struct Client *source_p, if ((target_p = hash_find_server(parv[1]))) { sendto_one(source_p, - ":%s NOTICE %s :Connect: Server %s already exists from %s.", + ":%s NOTICE %s :Connect: Server %s already exists from %s.", me.name, source_p->name, parv[1], target_p->from->name); return; } @@ -222,7 +225,8 @@ ms_connect(struct Client *client_p, struct Client *source_p, } } - /* Get port number from user, if given. If not specified, + /* + * Get port number from user, if given. If not specified, * use the default form configuration structure. If missing * from there, then use the precompiled default. */ @@ -232,7 +236,9 @@ ms_connect(struct Client *client_p, struct Client *source_p, { port = atoi(parv[2]); - /* if someone sends port 0, and we have a config port.. use it */ + /* + * if someone sends port 0, and we have a config port.. use it + */ if (port == 0 && conf->port) port = conf->port; else if (port <= 0) |