summaryrefslogtreecommitdiffstats
path: root/src/constants.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/constants.rs')
-rw-r--r--src/constants.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constants.rs b/src/constants.rs
index ff5e399..b8b905e 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -337,7 +337,7 @@ pub static ERR_NOSERVICEHOST: u16 = 492;
pub static RPL_TOPICDATE: u16 = 333; // date the topic was set, in seconds since the epoch
pub static ERR_MSGFORBIDDEN: u16 = 505; // freenode blocking privmsg from unreged users
-pub static MAX_MESSAGE_LENGTH: i32 = 512;
+pub static MAX_MESSAGE_LENGTH: uint = 512;
#[test]
fn test_message_type () {