]> git.netwichtig.de Git - user/henk/code/inspircd.git/commit
Add the reason to xline removal notices. (#1545)
authorMatt Schatz <genius3000@g3k.solutions>
Thu, 24 Jan 2019 16:01:56 +0000 (09:01 -0700)
committerPeter Powell <petpow@saberuk.com>
Thu, 24 Jan 2019 16:01:56 +0000 (16:01 +0000)
commitd5b50d9ed107d6a8b9241a831c1dae713963b524
tree37371ed3c1ca1234e7e75361800f6285f9abb1bc
parent2f35b78fbaadb8d9a6c47ffc198bd97f91af3306
Add the reason to xline removal notices. (#1545)

Show the reason in manual xline removal SNOTICEs, just like
expiry SNOTICEs do.

This modifies XLineManager::DelLine() to require another string
reference passed to it.

Requested by @Robby-.
12 files changed:
include/xline.h
src/coremods/core_xline/cmd_eline.cpp
src/coremods/core_xline/cmd_gline.cpp
src/coremods/core_xline/cmd_kline.cpp
src/coremods/core_xline/cmd_qline.cpp
src/coremods/core_xline/cmd_zline.cpp
src/modules/m_cban.cpp
src/modules/m_rline.cpp
src/modules/m_shun.cpp
src/modules/m_spanningtree/delline.cpp
src/modules/m_svshold.cpp
src/xline.cpp