projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c57c69
)
src/chanserv.c: Do not mix variable declarations and code.
author
Michael Poole
<mdpoole@troilus.org>
Thu, 20 Mar 2008 03:43:01 +0000
(23:43 -0400)
committer
Michael Poole
<mdpoole@troilus.org>
Thu, 20 Mar 2008 03:43:01 +0000
(23:43 -0400)
src/chanserv.c
patch
|
blob
|
history
diff --git
a/src/chanserv.c
b/src/chanserv.c
index d2f26938697b94a4c996c8ce246e3e5ce83a3c0c..7a3fad0e5517b8329dd5407cdebfb5f75c0a814e 100644
(file)
--- a/
src/chanserv.c
+++ b/
src/chanserv.c
@@
-1646,6
+1646,7
@@
static unsigned int send_dnrs(struct userNode *user, dict_t dict)
static CHANSERV_FUNC(cmd_noregister)
{
const char *target;
+ const char *reason;
unsigned long expiry, duration;
unsigned int matches;
@@
-1688,7
+1689,7
@@
static CHANSERV_FUNC(cmd_noregister)
return 0;
}
-
const char *
reason = unsplit_string(argv + 3, argc - 3, NULL);
+ reason = unsplit_string(argv + 3, argc - 3, NULL);
if((*target == '*') && !get_handle_info(target + 1))
{
reply("MSG_HANDLE_UNKNOWN", target + 1);