From 6fb9ea57654f8409ae3ddf7493a6cd45dc9cb7bc Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 31 Oct 2007 19:36:38 +0000 Subject: Remove all the OnAddGLine, OnAddWhateverLine replace with one simple OnAddLine and a OnDelLine which is passed User* (person adding or NULL if its the server) and the XLine git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8440 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/modules.cpp b/src/modules.cpp index 0c99218a1..66f93e9d7 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -175,16 +175,8 @@ void Module::ProtoSendMetaData(void*, int, void*, const std::string&, const std void Module::OnWallops(User*, const std::string&) { } void Module::OnChangeHost(User*, const std::string&) { } void Module::OnChangeName(User*, const std::string&) { } -void Module::OnAddGLine(long, User*, const std::string&, const std::string&) { } -void Module::OnAddZLine(long, User*, const std::string&, const std::string&) { } -void Module::OnAddKLine(long, User*, const std::string&, const std::string&) { } -void Module::OnAddQLine(long, User*, const std::string&, const std::string&) { } -void Module::OnAddELine(long, User*, const std::string&, const std::string&) { } -void Module::OnDelGLine(User*, const std::string&) { } -void Module::OnDelZLine(User*, const std::string&) { } -void Module::OnDelKLine(User*, const std::string&) { } -void Module::OnDelQLine(User*, const std::string&) { } -void Module::OnDelELine(User*, const std::string&) { } +void Module::OnAddLine(User*, XLine*) { } +void Module::OnDelLine(User*, XLine*) { } void Module::OnCleanup(int, void*) { } void Module::Implements(char* Implements) { for (int j = 0; j < 255; j++) Implements[j] = 0; } void Module::OnChannelDelete(Channel*) { } -- cgit v1.2.3