aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/uid.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-04-17 22:36:39 +0100
committerGravatar Sadie Powell2021-04-17 22:44:13 +0100
commitd8019f87b34b4d725bd085f04c6aef0b925c9e76 (patch)
tree79c7b417dc8b53f6ad81fc0d10e4a28b9c62d8c9 /src/modules/m_spanningtree/uid.cpp
parentLogManager does not implement fakederef in v4. (diff)
downloadinspircd++-d8019f87b34b4d725bd085f04c6aef0b925c9e76.tar.gz
inspircd++-d8019f87b34b4d725bd085f04c6aef0b925c9e76.tar.bz2
inspircd++-d8019f87b34b4d725bd085f04c6aef0b925c9e76.zip
Fix various uses of the _t suffix which is reserved by POSIX.
Diffstat (limited to 'src/modules/m_spanningtree/uid.cpp')
-rw-r--r--src/modules/m_spanningtree/uid.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/uid.cpp b/src/modules/m_spanningtree/uid.cpp
index 2831c8de6..8f02fb966 100644
--- a/src/modules/m_spanningtree/uid.cpp
+++ b/src/modules/m_spanningtree/uid.cpp
@@ -36,7 +36,7 @@ CmdResult CommandUID::HandleServer(TreeServer* remoteserver, CommandBase::Params
* 0 1 2 3 4 5 6 7 8 9 (n-1)
* UID uuid age nick host dhost ident ip.string signon +modes (modepara) :real
*/
- time_t age_t = ServerCommand::ExtractTS(params[1]);
+ time_t age_ts = ServerCommand::ExtractTS(params[1]);
time_t signon = ServerCommand::ExtractTS(params[7]);
const std::string& modestr = params[8];
@@ -59,12 +59,12 @@ CmdResult CommandUID::HandleServer(TreeServer* remoteserver, CommandBase::Params
else if (collideswith)
{
// The user on this side is registered, handle the collision
- bool they_change = Utils->DoCollision(collideswith, remoteserver, age_t, params[5], params[6], params[0], "UID");
+ bool they_change = Utils->DoCollision(collideswith, remoteserver, age_ts, params[5], params[6], params[0], "UID");
if (they_change)
{
// The client being introduced needs to change nick to uuid, change the nick in the message before
// processing/forwarding it. Also change the nick TS to CommandSave::SavedTimestamp.
- age_t = CommandSave::SavedTimestamp;
+ age_ts = CommandSave::SavedTimestamp;
params[1] = ConvToStr(CommandSave::SavedTimestamp);
params[2] = params[0];
}
@@ -82,7 +82,7 @@ CmdResult CommandUID::HandleServer(TreeServer* remoteserver, CommandBase::Params
_new->ChangeRealName(params.back());
_new->registered = REG_ALL;
_new->signon = signon;
- _new->age = age_t;
+ _new->age = age_ts;
unsigned int paramptr = 9;