mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
Fix GNU++98 compatibility.
This commit is contained in:
parent
46f4a562c8
commit
42c97a9e70
@ -531,7 +531,7 @@ void CommandWho::SendWhoLine(LocalUser* source, const std::vector<std::string>&
|
||||
if (oplevels.empty())
|
||||
BuildOpLevels();
|
||||
|
||||
wholine.push(memb && !memb->modes.empty() ? oplevels[memb->modes.front()] : "n/a");
|
||||
wholine.push(memb && !memb->modes.empty() ? oplevels[memb->modes[0]] : "n/a");
|
||||
}
|
||||
|
||||
// Include the user's real name.
|
||||
|
Loading…
x
Reference in New Issue
Block a user