projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c196449
)
fixed possible crash (NULL pointer) in cmd_neonserv_unvisited.c
author
pk910
<philipp@zoelle1.de>
Sun, 9 Sep 2012 07:39:57 +0000
(09:39 +0200)
committer
pk910
<philipp@zoelle1.de>
Sun, 9 Sep 2012 07:39:57 +0000
(09:39 +0200)
src/modules/NeonServ.mod/cmd_neonserv_unvisited.c
patch
|
blob
|
history
diff --git
a/src/modules/NeonServ.mod/cmd_neonserv_unvisited.c
b/src/modules/NeonServ.mod/cmd_neonserv_unvisited.c
index 07b75018d6bbc1c93b2c4710fdcd900294e1572b..fc00afacc25c162b11d9af2397cb155c8b53fe22 100644
(file)
--- a/
src/modules/NeonServ.mod/cmd_neonserv_unvisited.c
+++ b/
src/modules/NeonServ.mod/cmd_neonserv_unvisited.c
@@
-195,7
+195,7
@@
static void neonserv_cmd_unvisited_unreg(struct ClientSocket *client, char *chan
putsock(bot, "PART %s :Channel unregistered.", channel);
}
}
- if(
client->
botid == NEONSERV_BOTID) {
+ if(botid == NEONSERV_BOTID) {
char setting[128];
sprintf(setting, "modules.%s.auto_backup_unregister", get_module_name(module_id));
if(get_int_field(setting))