mirror of
https://github.com/EnergyMech/energymech.git
synced 2025-12-29 16:14:43 +00:00
march27
This commit is contained in:
11
src/socket.c
11
src/socket.c
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
EnergyMech, IRC bot software
|
||||
Parts Copyright (c) 1997-2009 proton
|
||||
Parts Copyright (c) 1997-2018 proton
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -678,4 +678,13 @@ int killsock(int sock)
|
||||
return(TRUE);
|
||||
}
|
||||
|
||||
void do_clearqueue(COMMAND_ARGS)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
debug("(do_clearqueue) purging sendq...\n");
|
||||
#endif
|
||||
purge_strplist(current->sendq);
|
||||
current->sendq = NULL;
|
||||
}
|
||||
|
||||
#endif /* GENCMD_C */
|
||||
|
||||
Reference in New Issue
Block a user