diff options
-rw-r--r-- | modules/m_capab.c | 4 | ||||
-rw-r--r-- | src/conf.c | 3 | ||||
-rw-r--r-- | src/listener.c | 3 | ||||
-rw-r--r-- | 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 = { @@ -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 : "<unknown>"; sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, |