From 040365d88ab2187347e94fa561e7887f140f7fff Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 2 Nov 2013 17:07:55 +0000 Subject: - Style corrections git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2526 82007160-df01-0410-b94d-b575c5fd34c7 --- modules/m_capab.c | 4 ++-- src/conf.c | 3 ++- src/listener.c | 3 ++- src/modules.c | 3 ++- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/modules/m_capab.c b/modules/m_capab.c index 39213e4..a282920 100644 --- a/modules/m_capab.c +++ b/modules/m_capab.c @@ -57,8 +57,8 @@ mr_capab(struct Client *client_p, struct Client *source_p, for (i = 1; i < parc; ++i) for (s = strtoken(&p, parv[i], " "); s; s = strtoken(&p, NULL, " ")) - if ((cap = find_capability(s))) - SetCapable(client_p, cap); + if ((cap = find_capability(s))) + SetCapable(client_p, cap); } static struct Message capab_msgtab = { diff --git a/src/conf.c b/src/conf.c index 5816847..7db7c84 100644 --- a/src/conf.c +++ b/src/conf.c @@ -2170,7 +2170,8 @@ split_nuh(struct split_nuh_item *const iptr) if (iptr->nickptr && *iptr->nuhmask != '\0') strlcpy(iptr->nickptr, iptr->nuhmask, iptr->nicksize); - if ((q = strchr(++p, '@'))) { + if ((q = strchr(++p, '@'))) + { *q++ = '\0'; if (*p != '\0') diff --git a/src/listener.c b/src/listener.c index bd577a7..6c728f1 100644 --- a/src/listener.c +++ b/src/listener.c @@ -93,7 +93,8 @@ show_ports(struct Client *source_p) const struct Listener *listener = ptr->data; p = buf; - if (listener->flags & LISTENER_HIDDEN) { + if (listener->flags & LISTENER_HIDDEN) + { if (!HasUMode(source_p, UMODE_ADMIN)) continue; *p++ = 'H'; diff --git a/src/modules.c b/src/modules.c index 8c90b5f..37b0151 100644 --- a/src/modules.c +++ b/src/modules.c @@ -119,7 +119,8 @@ load_a_module(const char *path, int warn) if (findmodule_byname((mod_basename = libio_basename(path)))) return 1; - if (!(tmpptr = lt_dlopen(path))) { + if (!(tmpptr = lt_dlopen(path))) + { const char *err = ((err = lt_dlerror())) ? err : ""; sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, -- cgit