summaryrefslogtreecommitdiff
path: root/src/coremods
diff options
context:
space:
mode:
Diffstat (limited to 'src/coremods')
-rw-r--r--src/coremods/core_who.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_who.cpp b/src/coremods/core_who.cpp
index aa19efe97..b853ef4b1 100644
--- a/src/coremods/core_who.cpp
+++ b/src/coremods/core_who.cpp
@@ -80,7 +80,7 @@ struct WhoData : public Who::Request
// If flags have been specified by the source.
if (parameters.size() > 1)
{
- std::bitset<UCHAR_MAX>* current_bitset = &flags;
+ CharState* current_bitset = &flags;
for (std::string::const_iterator iter = parameters[1].begin(); iter != parameters[1].end(); ++iter)
{
unsigned char chr = static_cast<unsigned char>(*iter);