diff options
Diffstat (limited to 'vchat-user.c')
-rwxr-xr-x | vchat-user.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vchat-user.c b/vchat-user.c index 4f4990c..868fcc5 100755 --- a/vchat-user.c +++ b/vchat-user.c | |||
@@ -300,7 +300,7 @@ ulnc_complete (const unsigned char *text, int state, int value, int (*checkfn)(u | |||
300 | unsigned char * | 300 | unsigned char * |
301 | ul_nickcomp (const unsigned char *text, int state) | 301 | ul_nickcomp (const unsigned char *text, int state) |
302 | { | 302 | { |
303 | int ncasemode; | 303 | int ncasemode = 1; |
304 | unsigned char *name = NULL; | 304 | unsigned char *name = NULL; |
305 | if (!state) ncasemode = 0; | 305 | if (!state) ncasemode = 0; |
306 | if (!ncasemode) { | 306 | if (!ncasemode) { |
@@ -327,7 +327,7 @@ int ulnc_ncasenickc(user *tmp, const unsigned char *text, int len, int value) { | |||
327 | unsigned char * | 327 | unsigned char * |
328 | ul_cnickcomp (const unsigned char *text, int state) | 328 | ul_cnickcomp (const unsigned char *text, int state) |
329 | { | 329 | { |
330 | int ncasemode; | 330 | int ncasemode = 1; |
331 | static unsigned char *name = NULL; | 331 | static unsigned char *name = NULL; |
332 | 332 | ||
333 | if (!state) ncasemode = 0; | 333 | if (!state) ncasemode = 0; |
@@ -356,7 +356,7 @@ int ulnc_ncasenickm(user *tmp, const unsigned char *text, int len, int value) { | |||
356 | unsigned char * | 356 | unsigned char * |
357 | ul_mnickcomp (const unsigned char *text, int state) | 357 | ul_mnickcomp (const unsigned char *text, int state) |
358 | { | 358 | { |
359 | int ncasemode; | 359 | int ncasemode = 1; |
360 | static unsigned char *name = NULL; | 360 | static unsigned char *name = NULL; |
361 | 361 | ||
362 | if (!state) ncasemode = 0; | 362 | if (!state) ncasemode = 0; |