From: GitHub <no...@gi...> - 2017-04-22 00:10:47
|
Branch: refs/heads/master Home: https://github.com/znc/znc Commit: 823ac07240fe4e930f89529fe9ad75d4f8014489 https://github.com/znc/znc/commit/823ac07240fe4e930f89529fe9ad75d4f8014489 Author: Eli Young <ely...@gm...> Date: 2017-04-18 (Tue, 18 Apr 2017) Changed paths: M include/znc/Modules.h M modules/modperl/functions.in M modules/modperl/module.h M modules/modperl/startup.pl M modules/modpython/functions.in M modules/modpython/module.h M modules/modpython/znc.py M src/Client.cpp M src/IRCSock.cpp M src/Modules.cpp M test/ClientTest.cpp M test/IRCSockTest.cpp M test/IRCTest.h Log Message: ----------- Add OnSendToIRCMessage and OnSendToClientMessage This also alters PutClient such that the CMessage variant handles sending messages, rather than the CString variant. As a side bonus, this gives callers better information on whether the message was sent to the client. Additionally, it eliminates the need for a hook to let modules set the tags sent to a client, as that can now be done inside OnSendToClientMessage. Commit: 9146ea6187f3fedf50e9b9c90182aed9d7a32367 https://github.com/znc/znc/commit/9146ea6187f3fedf50e9b9c90182aed9d7a32367 Author: Alexey Sokolov <ale...@as...> Date: 2017-04-22 (Sat, 22 Apr 2017) Changed paths: M include/znc/Modules.h M modules/modperl/functions.in M modules/modperl/module.h M modules/modperl/startup.pl M modules/modpython/functions.in M modules/modpython/module.h M modules/modpython/znc.py M src/Client.cpp M src/IRCSock.cpp M src/Modules.cpp M test/ClientTest.cpp M test/IRCSockTest.cpp M test/IRCTest.h Log Message: ----------- Merge pull request #1398 from elyscape/feature/onsend-message-hooks Add OnSendToIRCMessage and OnSendToClientMessage Compare: https://github.com/znc/znc/compare/f37aa308e1f0...9146ea6187f3 |