]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit - src/modules/m_deaf.cpp
Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to OnUserMess...
authorattilamolnar <attilamolnar@hush.com>
Thu, 16 May 2013 14:33:16 +0000 (16:33 +0200)
committerattilamolnar <attilamolnar@hush.com>
Mon, 20 May 2013 21:30:11 +0000 (23:30 +0200)
commit7a67685bcb863b0d4199715e86697fee423596c2
treee9d5d9de3a8ea66b785131012e2a777eaa8004e5
parent06a606ea6668d6a5fa506f7de4575eff7c3c8871
Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to OnUserMessage and OnUserPreMessage

All modules (except m_nonotice) that perform filtering on messages have common logic for handling PRIVMSGs and NOTICEs and most of them run the exact same code in both cases
27 files changed:
include/modules.h
src/commands/cmd_notice.cpp
src/commands/cmd_privmsg.cpp
src/modules.cpp
src/modules/m_alias.cpp
src/modules/m_blockcaps.cpp
src/modules/m_blockcolor.cpp
src/modules/m_callerid.cpp
src/modules/m_censor.cpp
src/modules/m_chanfilter.cpp
src/modules/m_chanhistory.cpp
src/modules/m_commonchans.cpp
src/modules/m_dccallow.cpp
src/modules/m_deaf.cpp
src/modules/m_delaymsg.cpp
src/modules/m_filter.cpp
src/modules/m_messageflood.cpp
src/modules/m_muteban.cpp
src/modules/m_noctcp.cpp
src/modules/m_nonotice.cpp
src/modules/m_restrictmsg.cpp
src/modules/m_services_account.cpp
src/modules/m_silence.cpp
src/modules/m_spanningtree/main.cpp
src/modules/m_spanningtree/main.h
src/modules/m_stripcolor.cpp
src/modules/m_testnet.cpp