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 --- src/conf.c | 3 ++- src/listener.c | 3 ++- src/modules.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src') 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