mirror of
https://github.com/EnergyMech/energymech.git
synced 2025-12-17 15:36:50 +00:00
reduce debug spam for rawirc
This commit is contained in:
parent
60afe18eaf
commit
7ba1d24c71
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
EnergyMech, IRC bot software
|
EnergyMech, IRC bot software
|
||||||
Parts Copyright (c) 1997-2024 proton
|
Parts Copyright (c) 1997-2025 proton
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
@ -102,6 +102,7 @@ void send_spy(const char *src, const char *format, ...)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
if (src != SPYSTR_RAWIRC) /* too much debug spam */
|
||||||
debug("(send_spy) src <%s> format = '%s', current = '%s' (%i)\n",src,format,
|
debug("(send_spy) src <%s> format = '%s', current = '%s' (%i)\n",src,format,
|
||||||
(current == NULL) ? "<NULL>" : nullstr(current->nick),(current == NULL) ? -1 : current->guid);
|
(current == NULL) ? "<NULL>" : nullstr(current->nick),(current == NULL) ? -1 : current->guid);
|
||||||
#endif /* DEBUG */
|
#endif /* DEBUG */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user