diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-29 05:46:17 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-29 05:46:17 +0000 |
commit | 80015fe115f37243e7b75a48312edb5a029fa229 (patch) | |
tree | e009d2b26ab159520715ef6c0166074aea3bd26b /include/users.h | |
parent | 68f1a4eab3c747b7566e7595bf4fd3125e6ca113 (diff) |
Updated buffering, faster and more sensible (old code sucks)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1256 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h index 098762eca..a897d8282 100644 --- a/include/users.h +++ b/include/users.h @@ -173,6 +173,12 @@ class userrec : public connection */ char password[MAXBUF]; + /** User's receive queue. + * Lines from the IRCd awaiting processing are stored here. + * Upgraded april 2005, old system a bit hairy. + */ + std::string recvq; + userrec(); virtual ~userrec() { } @@ -209,6 +215,11 @@ class userrec : public connection * this to their oper classes and checking the commands they can execute. */ bool HasPermission(char* command); + + void userrec::AddBuffer(std::string a); + bool userrec::BufferIsReady(); + void userrec::ClearBuffer(); + std::string userrec::GetBuffer(); }; |