mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
Fix inadvertant 1.2 -> 1.1 compile error
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8687 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
ccd875244b
commit
c1d49e258d
@ -78,7 +78,7 @@ class ModuleTaxonomy : public Module
|
||||
{
|
||||
if (target_type == TYPE_USER)
|
||||
{
|
||||
User* spoolto = (User*)target;
|
||||
userrec *spoolto = (userrec*)target;
|
||||
std::string taxstr = "304 " + std::string(spoolto->nick) + ":TAXONOMY METADATA "+extname+" = "+extdata;
|
||||
spoolto->WriteServ(taxstr);
|
||||
claimed = true;
|
||||
|
@ -346,9 +346,11 @@ userrec::userrec(InspIRCd* Instance) : ServerInstance(Instance)
|
||||
|
||||
void userrec::RemoveCloneCounts()
|
||||
{
|
||||
ServerInstance->Log(DEBUG, "Removing my clone counts");
|
||||
clonemap::iterator x = ServerInstance->local_clones.find(this->GetIPString());
|
||||
if (x != ServerInstance->local_clones.end())
|
||||
{
|
||||
ServerInstance->Log(DEBUG, "Removed local");
|
||||
x->second--;
|
||||
if (!x->second)
|
||||
{
|
||||
@ -359,6 +361,7 @@ void userrec::RemoveCloneCounts()
|
||||
clonemap::iterator y = ServerInstance->global_clones.find(this->GetIPString());
|
||||
if (y != ServerInstance->global_clones.end())
|
||||
{
|
||||
ServerInstance->Log(DEBUG, "Removed global");
|
||||
y->second--;
|
||||
if (!y->second)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user