summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/users.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/users.c b/src/users.c
index ff42b6d9d..af9bbbd95 100644
--- a/src/users.c
+++ b/src/users.c
@@ -125,12 +125,12 @@ void User::SetIdent(const std::string &ident)
if (ident.empty())
throw "empty ident in SetIdent";
- if (this->vident)
- free(this->vident);
- this->vident = sstrdup(ident.c_str());
+ if (this->vident)
+ free(this->vident);
+ this->vident = sstrdup(ident.c_str());
- if (debug)
- alog("debug: %s changed ident to %s", this->nick, username);
+ if (debug)
+ alog("debug: %s changed ident to %s", this->nick, username);
update_host(this);
}