summaryrefslogtreecommitdiff
path: root/modules/webcpanel
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webcpanel')
-rw-r--r--modules/webcpanel/templates/default/chanserv/set.html2
-rw-r--r--modules/webcpanel/webcpanel.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/webcpanel/templates/default/chanserv/set.html b/modules/webcpanel/templates/default/chanserv/set.html
index 050c37f69..9437ca71a 100644
--- a/modules/webcpanel/templates/default/chanserv/set.html
+++ b/modules/webcpanel/templates/default/chanserv/set.html
@@ -25,7 +25,7 @@
{END IF}
{IF EXISTS SUCCESSOR}
<tr>
- <td>Succsesor</td>
+ <td>Successor</td>
<td>{SUCCESSOR}</td>
</tr>
{END IF}
diff --git a/modules/webcpanel/webcpanel.cpp b/modules/webcpanel/webcpanel.cpp
index 16b61e673..f95307f22 100644
--- a/modules/webcpanel/webcpanel.cpp
+++ b/modules/webcpanel/webcpanel.cpp
@@ -268,7 +268,7 @@ namespace WebPanel
my_reply(r, key);
CommandSource source(user, NULL, nc, &my_reply, bi);
- source.ip = client->clientaddr.addr();
+ source.ip = client->GetIP();
CommandInfo info;
info.name = c;
@@ -308,7 +308,7 @@ namespace WebPanel
my_reply(r, key);
CommandSource source(nc->display, NULL, nc, &my_reply, bi);
- source.ip = client->clientaddr.addr();
+ source.ip = client->GetIP();
cmd->Run(source, cmdname, *info, params);
}