aboutsummaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-10-29 15:44:01 +0100
committerGravatar Sadie Powell2022-10-29 15:54:59 +0100
commit6fc111ccb6650a67f014977b2e7ebc2fb5b16790 (patch)
treeea56149af9bf3e2226e32385ad6989355266090d /src/commands.cpp
parentUse User::IsFullyConnected instead of checking for REG_ALL. (diff)
Rename session registration to connection to avoid a semantic conflict.
We previously referred to both session registration and user registration as "registration" which is confusing for users who aren't familiar with how IRC works.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index bae8ef10b..c35e5d2cb 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -76,9 +76,9 @@ void Command::TellNotEnoughParameters(LocalUser* user, const Params& parameters)
}
}
-void Command::TellNotRegistered(LocalUser* user, const Params& parameters)
+void Command::TellNotFullyConnected(LocalUser* user, const Params& parameters)
{
- user->WriteNumeric(ERR_NOTREGISTERED, name, "You have not registered.");
+ user->WriteNumeric(ERR_NOTREGISTERED, name, "You must be fully connected to use this command.");
}
SplitCommand::SplitCommand(Module* me, const std::string& cmd, unsigned int minpara, unsigned int maxpara)