Skip to content

Commit

Permalink
Fix a build error in the previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
SadieCat committed Jan 23, 2025
1 parent e5067d4 commit fc3986a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 4/m_antiknocker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class ModuleAntiKnocker final
return;

ServerInstance->SNO.WriteToSnoMask('a', "User {} ({}) [{}] (class: {}) was prevented from using a knocker username: {}",
user->nick, user->GetRealUserHost(), user->GetAddress(), user->GetClass()->name, newuser);
user->nick, user->GetRealUserHost(), user->GetAddress(), luser->GetClass()->name, newuser);

PunishUser(luser);
}
Expand All @@ -163,7 +163,7 @@ class ModuleAntiKnocker final
return;

ServerInstance->SNO.WriteToSnoMask('a', "User {} ({}) [{}] (class: {}) was prevented from using a knocker real name: {}",
user->nick, user->GetRealUserHost(), user->GetAddress(), user->GetClass()->name, newreal);
user->nick, user->GetRealUserHost(), user->GetAddress(), luser->GetClass()->name, newreal);

PunishUser(luser);
}
Expand Down

0 comments on commit fc3986a

Please sign in to comment.