summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-08-12 20:10:06 +0200
committerattilamolnar <attilamolnar@hush.com>2013-08-12 20:10:06 +0200
commit37394a80c2b4a3948e4f0e850710c9518d9ba259 (patch)
tree9a15cf8cc9201f29ced2e510abc94e73c86db91a /include
parent558eea33dc323518dba505a99ffbb19b8fbe1267 (diff)
Clean up a few constructors
Do not silently correct a zero TS in Channel::Channel(); require callers to supply a valid TS instead
Diffstat (limited to 'include')
-rw-r--r--include/channels.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h
index fbb38d5da..0c7a3a20c 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -63,7 +63,9 @@ class CoreExport Channel : public Extensible, public InviteBase
public:
/** Creates a channel record and initialises it with default values
- * @throw Nothing at present.
+ * @param name The name of the channel
+ * @param ts The creation time of the channel
+ * @throw CoreException if this channel name is in use
*/
Channel(const std::string &name, time_t ts);