mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-02 11:06:38 +02:00
Fixed a /gline crash bug
This commit is contained in:
@@ -798,3 +798,4 @@ seen. gmtime warning still there
|
||||
- Fixed a win32 bug that can cause unexpected crashes while using the editor
|
||||
- Some httpd stuff and a #define CHROOTDIR problem found by Zhadum
|
||||
- Added scan_http, scans on 80, 3128, 8080 in a threaded manner
|
||||
- Fixed a /gline crash bug found by DemOnBaBy
|
||||
|
||||
@@ -801,6 +801,8 @@ int m_gline(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
nochecks:
|
||||
usermask = strtok(mask, "@");
|
||||
hostmask = strtok(NULL, "");
|
||||
if (BadPtr(usermask) || BadPtr(hostmask))
|
||||
return;
|
||||
tkl_check_expire(NULL);
|
||||
|
||||
for (tk = tklines; tk; tk = tk->next)
|
||||
|
||||
Reference in New Issue
Block a user