From 09f5591abac6b29b7c2b41b4747c2b523efa6c63 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 2 Aug 2011 05:07:59 -0400 Subject: Fixed /cs clone copying channel access, fixed restricted, and fixed some compiler warnings --- modules/core/cs_clone.cpp | 2 +- modules/core/ns_info.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/core') diff --git a/modules/core/cs_clone.cpp b/modules/core/cs_clone.cpp index b7f8763f7..5ede6a9e4 100644 --- a/modules/core/cs_clone.cpp +++ b/modules/core/cs_clone.cpp @@ -65,7 +65,7 @@ public: if (what.empty()) { delete target_ci; - target_ci = new ChannelInfo(ci); + target_ci = new ChannelInfo(*ci); target_ci->name = target; RegisteredChannelList[target_ci->name] = target_ci; target_ci->c = findchan(target_ci->name); diff --git a/modules/core/ns_info.cpp b/modules/core/ns_info.cpp index e2c45958f..5a6d9dc0c 100644 --- a/modules/core/ns_info.cpp +++ b/modules/core/ns_info.cpp @@ -148,7 +148,7 @@ class CommandNSInfo : public Command source.Reply(" "); source.Reply(_("Displays information about the given nickname, such as\n" "the nick's owner, last seen address and time, and nick\n" - "options. If no nick is given, an you are identified,\n" + "options. If no nick is given, and you are identified,\n" "your account name is used, else your current nickname is\n" "used.")); -- cgit