projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30ce062
)
damn GCC -.- (this variable may _NOT_ be uninitialized!!!)
author
pk910
<philipp@zoelle1.de>
Thu, 20 Oct 2011 22:39:51 +0000
(
00:39
+0200)
committer
pk910
<philipp@zoelle1.de>
Thu, 20 Oct 2011 22:39:51 +0000
(
00:39
+0200)
src/event_neonspam_join.c
patch
|
blob
|
history
diff --git
a/src/event_neonspam_join.c
b/src/event_neonspam_join.c
index f2af828578d2c710bb406788fff12f16c61223bd..b2639035f75ca6e73593b4c07628eea4b17f73b0 100644
(file)
--- a/
src/event_neonspam_join.c
+++ b/
src/event_neonspam_join.c
@@
-97,7
+97,7
@@
static void neonspam_event_join_punish(struct ClientSocket *client, struct ChanU
if(uaccess >= settings->exceptlevel) return;
//scanops / scanvoiced
MYSQL_RES *res;
- MYSQL_ROW row, defaults;
+ MYSQL_ROW row, defaults
= NULL
;
loadChannelSettings(chanuser->chan);
printf_mysql_query("SELECT `%s`, `channel_getop`, `channel_getvoice` FROM `channels` WHERE `channel_id` = '%d'", reaction, chanuser->chan->channel_id);
res = mysql_use();