diff options
| author | Adam <Adam@anope.org> | 2010-06-28 00:56:37 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-06-28 00:56:37 -0400 |
| commit | 2e4099e9f2bdcfab963c1e86a3f02d6b3c1b0048 (patch) | |
| tree | 046bb44235866c1cea25a362f4d16039a51bb711 /include | |
| parent | 00aa4a0ad4ad0da50619b0df3dd7f312b20a1353 (diff) | |
No need for BotInfo to have its own ChangeNick function
Diffstat (limited to 'include')
| -rw-r--r-- | include/bots.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bots.h b/include/bots.h index c1fd14450..cd95467b5 100644 --- a/include/bots.h +++ b/include/bots.h @@ -48,10 +48,10 @@ class CoreExport BotInfo : public User, public Flags<BotFlag, BI_END> */ virtual ~BotInfo(); - /** Change the nickname set on a bot. + /** Change the nickname for the bot. * @param newnick The nick to change to */ - void ChangeNick(const char *newnick); + void SetNewNick(const std::string &newnick); /** Rejoins all channels that this bot is assigned to. * Used on /kill, rename, etc. |
