diff options
| author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-20 18:42:58 -0400 |
|---|---|---|
| committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-20 18:42:58 -0400 |
| commit | 381c9c8870fad4c544f29deec22ba4be3549a731 (patch) | |
| tree | f5f26e2dd380910b0ddd26e3d885d6bf56d40181 /include/bots.h | |
| parent | 2528dc80bd1b3e6b2c09db23eb51659e30128110 (diff) | |
The first of a few "CBX OCDing over code style" commits, focusing on include/* and src/* but not src/core/* or src/modules/*.
Diffstat (limited to 'include/bots.h')
| -rw-r--r-- | include/bots.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/include/bots.h b/include/bots.h index 8952005e7..9227f5c68 100644 --- a/include/bots.h +++ b/include/bots.h @@ -3,11 +3,11 @@ * Copyright (C) 2008-2010 Anope Team <team@anope.org> * * Please read COPYING and README for further details. - * - * - * */ +#ifndef BOTS_H +#define BOTS_H + #include "commands.h" class BotInfo; @@ -32,15 +32,15 @@ enum BotFlag class CoreExport BotInfo : public Extensible, public Flags<BotFlag> { public: - std::string uid; /* required for UID supporting servers, as opposed to the shitty struct Uid. */ - std::string nick; /* Nickname of the bot */ - std::string user; /* Its user name */ - std::string host; /* Its hostname */ - std::string real; /* Its real name */ - time_t created; /* Birth date ;) */ - int16 chancount; /* Number of channels that use the bot. */ + std::string uid; /* required for UID supporting servers, as opposed to the shitty struct Uid. */ + std::string nick; /* Nickname of the bot */ + std::string user; /* Its user name */ + std::string host; /* Its hostname */ + std::string real; /* Its real name */ + time_t created; /* Birth date ;) */ + int16 chancount; /* Number of channels that use the bot. */ /* Dynamic data */ - time_t lastmsg; /* Last time we said something */ + time_t lastmsg; /* Last time we said something */ CommandMap Commands; /** Create a new bot. @@ -77,3 +77,5 @@ class CoreExport BotInfo : public Extensible, public Flags<BotFlag> */ void UnAssign(User *u, ChannelInfo *ci); }; + +#endif // BOTS_H |
