summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/channels.cpp1
-rw-r--r--src/modules/m_spanningtree/fjoin.cpp1
-rw-r--r--src/server.cpp1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 8e7d4af06..0b8945aca 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -804,7 +804,6 @@ void Channel::UserList(User *user)
dlen = curlen = snprintf(list,MAXBUF,"%s %c %s :", user->nick.c_str(), this->IsModeSet('s') ? '@' : this->IsModeSet('p') ? '*' : '=', this->name.c_str());
ptr = list + dlen;
- ptrlen = 0;
numusers = 0;
}
diff --git a/src/modules/m_spanningtree/fjoin.cpp b/src/modules/m_spanningtree/fjoin.cpp
index ea217b398..8846b2fbc 100644
--- a/src/modules/m_spanningtree/fjoin.cpp
+++ b/src/modules/m_spanningtree/fjoin.cpp
@@ -93,7 +93,6 @@ CmdResult CommandFJoin::Handle(const std::vector<std::string>& params, User *src
parameterlist param_list;
if (Utils->AnnounceTSChange)
chan->WriteChannelWithServ(ServerInstance->Config->ServerName, "NOTICE %s :TS for %s changed from %lu to %lu", chan->name.c_str(), channel.c_str(), (unsigned long) ourTS, (unsigned long) TS);
- ourTS = TS;
// while the name is equal in case-insensitive compare, it might differ in case; use the remote version
chan->name = channel;
chan->age = TS;
diff --git a/src/server.cpp b/src/server.cpp
index 91b911ff2..cba395ebe 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -100,7 +100,6 @@ void InspIRCd::IncrementUID(int pos)
for (int i = 3; i < (UUID_LENGTH - 1); i++)
{
current_uid[i] = 'A';
- pos = UUID_LENGTH - 1;
}
}
else