aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-08-09 18:28:11 +0200
committerGravatar attilamolnar2013-08-09 18:28:11 +0200
commitdafa2f3031c4abc7f5506385770c4fc743669b17 (patch)
tree16286565f98bee3a662b4b2b5e6f23352aaf4bed /src/users.cpp
parentAccept std::string as parameter in User::ChangeHost(), ChangeIdent() and Chan... (diff)
downloadinspircd++-dafa2f3031c4abc7f5506385770c4fc743669b17.tar.gz
inspircd++-dafa2f3031c4abc7f5506385770c4fc743669b17.tar.bz2
inspircd++-dafa2f3031c4abc7f5506385770c4fc743669b17.zip
Remove virtual User::GetClass() (but keep LocalUser::GetClass())
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 3bc196321..b49587b38 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1278,21 +1278,6 @@ void LocalUser::SetClass(const std::string &explicit_name)
}
}
-/* looks up a users password for their connection class (<ALLOW>/<DENY> tags)
- * NOTE: If the <ALLOW> or <DENY> tag specifies an ip, and this user resolves,
- * then their ip will be taken as 'priority' anyway, so for example,
- * <connect allow="127.0.0.1"> will match joe!bloggs@localhost
- */
-ConnectClass* LocalUser::GetClass()
-{
- return MyClass;
-}
-
-ConnectClass* User::GetClass()
-{
- return NULL;
-}
-
void User::PurgeEmptyChannels()
{
// firstly decrement the count on each channel