summaryrefslogtreecommitdiff
path: root/modules/commands/os_login.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/os_login.cpp')
-rw-r--r--modules/commands/os_login.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/os_login.cpp b/modules/commands/os_login.cpp
index 0ceac6428..c282b9662 100644
--- a/modules/commands/os_login.cpp
+++ b/modules/commands/os_login.cpp
@@ -45,7 +45,7 @@ class CommandOSLogin : public Command
}
else
{
- Log(LOG_ADMIN, source, this) << "and successfully identified to " << source.owner->nick;
+ Log(LOG_ADMIN, source, this) << "and successfully identified to " << source.service->nick;
u->Extend("os_login_password_correct", NULL);
source.Reply(_("Password accepted."));
}
@@ -59,7 +59,7 @@ class CommandOSLogin : public Command
source.Reply(" ");
source.Reply(_("Logs you in to %s so you gain Services Operator privileges.\n"
"This command may be unnecessary if your oper block is\n"
- "configured without a password."), source.owner->nick.c_str());
+ "configured without a password."), source.service->nick.c_str());
return true;
}
};
@@ -100,7 +100,7 @@ class CommandOSLogout : public Command
source.Reply(" ");
source.Reply(_("Logs you out from %s so you lose Services Operator privileges.\n"
"This command is only useful if your oper block is configured\n"
- "with a password."), source.owner->nick.c_str());
+ "with a password."), source.service->nick.c_str());
return true;
}
};