* Added: $guid to esay variables

* Added: New bigsay font: spider, use with .bigsay -spider cowabunga!
 * Fixed: Error in printing pointers would make lots of debug output go missing
 * Changed: Debug output (./energymech -d -o <file>) now appends instead of truncating
 * Fixed: Botnet auth messages now propagate correctly throughout the botnet
This commit is contained in:
joonicks
2018-04-22 02:34:04 +02:00
parent 808269bb68
commit 0e6f3c4b73
15 changed files with 312 additions and 68 deletions

View File

@@ -97,7 +97,7 @@ void remove_chan(Chan *chan)
if (*pp == chan)
{
*pp = chan->next;
purge_banlist(chan);
purge_linklist((void**)&chan->banlist);
purge_chanusers(chan);
delete_vars(chan->setting,CHANSET_SIZE);
Free(&chan->name);
@@ -350,20 +350,6 @@ void delete_modemask(Chan *chan, char *mask, int mode)
#endif /* IRCD_EXTENSIONS */
void purge_banlist(Chan *chan)
{
Ban *ban,*next;
ban = chan->banlist;
while(ban)
{
next = ban->next;
Free((char**)&ban);
ban = next;
}
chan->banlist = NULL;
}
void channel_massmode(const Chan *chan, char *pattern, int filtmode, char mode, char typechar)
{
ChanUser *cu;