diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-20 18:42:58 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-20 18:42:58 -0400 |
commit | 381c9c8870fad4c544f29deec22ba4be3549a731 (patch) | |
tree | f5f26e2dd380910b0ddd26e3d885d6bf56d40181 /src/ircd.cpp | |
parent | 2528dc80bd1b3e6b2c09db23eb51659e30128110 (diff) |
The first of a few "CBX OCDing over code style" commits, focusing on include/* and src/* but not src/core/* or src/modules/*.
Diffstat (limited to 'src/ircd.cpp')
-rw-r--r-- | src/ircd.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ircd.cpp b/src/ircd.cpp index 70d961d81..c06237a1b 100644 --- a/src/ircd.cpp +++ b/src/ircd.cpp @@ -7,8 +7,6 @@ * * Based on the original code of Epona by Lara. * Based on the original code of Services by Andy Church. - * - * */ #include "services.h" @@ -32,7 +30,8 @@ void anope_SendNumeric(const char *source, int numeric, const char *dest, const { va_list args; char buf[BUFSIZE] = ""; - if (fmt) { + if (fmt) + { va_start(args, fmt); vsnprintf(buf, BUFSIZE - 1, fmt, args); va_end(args); @@ -43,7 +42,7 @@ void anope_SendNumeric(const char *source, int numeric, const char *dest, const /** * Set routines for modules to set the prefered function for dealing with things. **/ -void pmodule_ircd_var(IRCDVar * ircdvar) +void pmodule_ircd_var(IRCDVar *ircdvar) { ircd = ircdvar; } |