1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-09-06 00:43:20 +00:00

Make parseLine public by renaming it to ParseLine

This commit is contained in:
3onyc 2014-07-06 20:26:34 +02:00
parent 7711182a72
commit 8f2ab20f4f
5 changed files with 45 additions and 45 deletions

View file

@ -78,8 +78,8 @@ func (line *Line) Public() bool {
}
// parseLine() creates a Line from an incoming message from the IRC server.
func parseLine(s string) *Line {
// ParseLine() creates a Line from an incoming message from the IRC server.
func ParseLine(s string) *Line {
line := &Line{Raw: s}
if s[0] == ':' {
// remove a source and parse it